<?php $this->load->view('inc_head');?>
<body>
	<?php $this->load->view('inc_header');?>

	<div class="wrapper" id="maincontainer">
		<div class="left" id="container">
			<?php $this->load->view('member_'.$action);?>
		</div>
		<div class="right" id="sidebar">
			<?php $this->load->view('inc_sidemember');?>
			<div class="ani category">
				<ul>
				<?php foreach ($actions as $key => $value):?>
					<li <?php if($action==$key):?>class="current"<?php endif;?>><a href="<?=site_url('member/message/'.$key)?>"><?=$value?></a></li>
				<?php endforeach;?>
				</ul>
			</div>
		</div>
		<div class="clear"></div>
	</div>

	<?php $this->load->view('inc_footer');?>
</body>
</html>